package haiyangwangwork.day05.homework;

public class Ironman extends Player implements Iswimming,Iriding{
    @Override
    public void ride() {
        System.out.println("铁人三项可以跑步");
    }

    @Override
    public void swim() {
        System.out.println("铁人三项可以游泳");
    }

    @Override
    public void diving() {
        System.out.println("铁人三项可以骑车");
    }
}
